﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeFile="user_favimg_det.aspx.cs" Inherits="user_favimg_det" Title="Hình mình yêu thích" %>

<%@ Register Src="~/UserControls/left_user.ascx" TagName="MenuLeft" TagPrefix="uc" %>
<%@ Register Src="~/UserControls/Advertising.ascx" TagName="Adv" TagPrefix="uc" %>
<%@ Register Src="~/UserControls/PagingDetail.ascx" TagName="Paging" TagPrefix="uc" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentCss" runat="Server">
    <link href="css/listing.css" rel="stylesheet" type="text/css" />
    <link href="css/detail.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentFooter" runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentMenu" runat="Server">
    <uc:MenuLeft ID="MenuLeft1" runat="server" GroupId="1" />
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentMain" runat="Server">
    <div class="detail">
        <h3>
            <img src="hinh-thoi-trang/hinh-yeu-thich-hp.gif" alt="thoi trang" width="400" height="40" /></h3>
        <div class="msg" id="msg" runat="server" visible="false">
        </div>
        <div class="detail-full">
        <%
            if (imgs != null)
            {
                foreach (a_Articles_Img img in imgs.ToArray())
                {
             %>
            <div class="detail-pic fl">
                <div class="detail-pic-img">
                    <img src="<%=GetImageLink(img)%>" alt="thoi trang" <%--width="250" height="380"--%> style="cursor:auto" />
                </div>
                <div class="tt">
                    <p class="guithiepso fl">
                        <a href="ecard.aspx?dt=3&iid=<%=img.IID %>&in=<%=GetParameterIn(img) %>&o=v&aid=<%=img.AID %>&ckid=<%=SessionManager.GetCookie() %>">Gửi thiệp số</a></p>
                    <p class="luualbum fl">
                        <a href="user_favimg_det.aspx?a=del&fid=<%=img.IID %>&alid=<%=Request["alid"] %>&cp=<%=Paging1.CurPage %>&ckid=<%=SessionManager.GetCookie() %>">Xóa album</a></p>
                    <p class="danhgia fl">
                        <a href="#">Đánh giá</a></p>
                    <div class="clear">
                    </div>
                </div>
            </div>
        <%
            }
            }
                     %>
            <div class="clear">
            </div>
        </div>
        <!--Item page-->
        <uc:Paging ID="Paging1" runat="server" />
        <!--//Item page-->
        <!--Other post-->
        <%
            if (albums != null)
            {
             %>
        <div class="other-post-wrap">
            <div class="other-post">
                <h5>
                    Album khác của bạn</h5>
                <ul class="post">
                <%
                    foreach (a_Album ab in albums.ToArray())
                    {
                        if (ab.ID != int.Parse(Request["alid"]))
                        {
                 %>
                    <li><a href="user_favimg_det.aspx?alid=<%=ab.ID %>&ckid=<%=SessionManager.GetCookie() %>"><%=ab.Name %></a><span>(<%=CountImg(ab.ID)%>)</span></li>
                <%
                    }
                    }
                     %>
                </ul>
            </div>
        </div>
        <%
            }
                 %>
        <!--//Other post-->
    </div>
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="ContentLeft" runat="Server">
    <uc:Adv ID="Adv1" runat="server" />
</asp:Content>
